package com.jwl.idc.app;

import android.app.Application;

import com.jwl.idc.actionbean.UserBean;
import com.jwl.idc.database.LocalDBManager;

/**
 * Created by liangfan on 2015/12/31.
 */
public class IdcApplication extends Application {

	public UserBean.User user;

	private static IdcApplication mIdcApplication = null;


	@Override
	public void onCreate() {
		super.onCreate();
		mIdcApplication = this;
		user = LocalDBManager.queryUserInfo(this);
	}

	public static IdcApplication getInstance() {
		return mIdcApplication;
	}
}
